package com.secxiot.provider.system.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

@ApiModel
@ToString
@Data
public class AppVersionVo implements Serializable {

    @ApiModelProperty(value = "id", required = true)
    private Long id;

    @ApiModelProperty(value = "平台类型，字典00011", required = true)
    private String platform;

    @ApiModelProperty(value = "客户端类型，患者端：patient 医生端：doctor", required = true)
    private String clientType;

    /**
     * 版本序号
     */
    @ApiModelProperty(value = "版本序号", required = true)
    private Integer version;

    /**
     * 更新地址
     */
    @ApiModelProperty(value = "更新地址", required = true)
    private String url;

    /**
     * 前台显示版本号
     */
    @ApiModelProperty(value = "前台显示版本号", required = true)
    private String versionDisplay;

    /**
     * 是否强制更新，0：否 1：是
     */
    @ApiModelProperty(value = "是否强制更新，0：否 1：是", required = true)
    private Integer compulsoryFlag;

    @ApiModelProperty(value = "备注", required = true)
    private String remark;

    private static final long serialVersionUID = 1L;
}